package com.example.api.client.fallback;

import com.example.api.client.AccountClient;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 订单服务降级处理
 */
public class AccountFallback implements AccountClient {
    @Override
    public String debit(@RequestParam("userId") String userId, @RequestParam("money") int money) {
        return "echo fallback";
    }
}
